﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UtilityLibrary.Ormapping;
using WZ.Entity;

namespace WZ.Stock.Data
{
    public class AnnouncementContentDAL : AttributeAdapterBase<AnnouncementContent>
    {
        static WZ.DC.Config.DBConfig<AnnouncementContent> dbConfig = new WZ.DC.Config.DBConfig<AnnouncementContent>();
        public AnnouncementContentDAL()
            : base(dbConfig.DBConnStr)
        {
        }
        public int InsertData(AnnouncementContent model)
        {
            return model.Id = Insert(model);
        }
    }
}
